ASP.NET
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
top
ASP.NET is a server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies.
It was first released in January 2002 with version 1.0 of the .NET Framework and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language. The ASP.NET SOAP extension framework allows ASP.NET components to process SOAP messages.
In 2016, Microsoft released ASP.NET Core as ASP.NET's successor. This new version is a re-implementation of ASP.NET as a modular web framework, together with other frameworks like Entity Framework. The new framework uses the new open-source .NET Compiler Platform (codename "Roslyn") and is cross platform. ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages (a platform using only Razor pages) have merged into a unified MVC 6.cite-ref-asp-net-3-0[3]
Contents
β’ Versions
β’ References
β’ Citations
β’ General sources
β’ External links
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Programming models
ASP.NET supports a number of programming models for building web applications:cite-ref-4[4]
β’ ASP.NET Web Forms β A framework for building modular pages out of components, with UI events being processed server-side. This framework is not included in the ASP.NET Core versions; it only works in the "classic" ASP.NET, on Windows.
β’ ASP.NET MVC β allows building web pages using the modelβviewβcontroller design pattern.
β’ ASP.NET Web Pages β A lightweight syntax for adding dynamic code and data access directly inside HTML markup.cite-ref-5[5]
β’ ASP.NET Web API β A framework for building Web APIs on top of the .NET Framework.cite-ref-6[6]
β’ ASP.NET WebHooks β Implements the Webhook pattern for subscribing to and publishing events via HTTP.
β’ SignalR β A real-time communications framework for bi-directional communication between client and server.
Other ASP.NET extensions include:
β’ ASP.NET Handler β Components that implement the System.Web.IHttpHandler interface. Unlike ASP.NET Pages, they have no HTML-markup file, no events and other supporting. All they have is a code-file (written in any .NET-compatible language) that writes some data to the server HTTP response. HTTP handlers are similar to ISAPI extensions.
β’ ASP.NET AJAX β An extension with both client-side as well as server-side components for writing ASP.NET pages that incorporate Ajax functionality.
β’ ASP.NET Dynamic Data β A scaffolding extension to build data driven web applications.
IIS integrated pipeline
On IIS 6.0 and lower, pages written using different versions of the ASP framework cannot share session state without the use of third-party libraries. This does not apply to ASP.NET and ASP applications running side by side on IIS 7. With IIS 7.0, modules may be run in an integrated pipeline that allows modules written in any language to be executed for any request.cite-ref-7[7]
Third-party frameworks
It is not essential to use the standard Web forms development model when developing with ASP.NET. Noteworthy frameworks designed for the platform include:
β’ Base One Foundation Component Library (BFC) is RAD framework for building .NET database and distributed computing applications.
β’ DotNetNuke is an open-source solution that provides both a web application framework and a content management system that allows for advanced extensibility through modules, skins, and providers.
β’ Castle MonoRail, an open-source MVC framework with an execution model similar to Ruby on Rails. The framework is commonly used with Castle ActiveRecord, an ORM layer built on NHibernate.
Versions
ASP.NET's release history tightly correlates with the .NET Framework releases:
| Date | Version |
|---|---|
| January 16, 2002 | Unsupported: 1.0 |
| April 24, 2003 | Unsupported: 1.1 |
| November 7, 2005 | Unsupported: 2.0 |
| November 21, 2006 | Unsupported: 3.0 |
| November 19, 2007 | Unsupported: 3.5 |
| August 11, 2008 | Unsupported: 3.5 Service Pack 1 |
| April 12, 2010 | Unsupported: 4.0 |
| August 15, 2012 | Unsupported: 4.5 |
| October 17, 2013 | Unsupported: 4.5.1 |
| May 5, 2014 | Supported: 4.5.2 |
| July 20, 2015 | Supported: 4.6 |
| November 30, 2015 | Supported: 4.6.1 |
| August 2, 2016 | Supported: 4.6.2 |
| April 11, 2017 | Supported: 4.7 |
| October 17, 2017 | Supported: 4.7.1 |
| April 30, 2018 | Supported: 4.7.2 |
| August 09, 2022 | Latest version: 4.8.1 |
| November 18, 2015 | Unsupported: 5 RC1 |
| Legend: Unsupported Supported Latest ve⦠| |
| Date | Remarks |
|---|---|
| January 16, 2002 | First version released together with Vi⦠|
| April 24, 2003 | released together with Windows Server 2β¦ |
| November 7, 2005 | codename Whidbey released together with⦠|
| November 21, 2006 | Released with Windows Vista |
| November 19, 2007 | Released with Visual Studio 2008 and Wi⦠|
| August 11, 2008 | Released with Visual Studio 2008 Servic⦠|
| April 12, 2010 | Released with Visual Studio 2010 Parall⦠|
| August 15, 2012 | Released with Visual Studio 2012 and Wi⦠|
| October 17, 2013 | Released with Visual Studio 2013 for Wi⦠|
| July 20, 2015 | Released with Visual Studio 2015 and EF⦠|
| April 11, 2017 | Included in the Windows 10 Creators Upd⦠|
| October 17, 2017 | Included in the Windows 10 Fall Creator⦠|
| August 09, 2022 | Released |
| November 18, 2015 | This version was later separated from A⦠|
| Date | New ASP.NET related features |
|---|---|
| January 16, 2002 | Object-oriented Web application develop⦠|
| April 24, 2003 | Mobile controls Automatic input validat⦠|
| November 7, 2005 | New data controls (GridView, FormView,β¦ |
| November 21, 2006 | Windows Presentation Foundation (WPF) W⦠|
| November 19, 2007 | New data controls (ListView, DataPager)β¦ |
| August 11, 2008 | Incorporation of ASP.NET Dynamic Data S⦠|
| April 12, 2010 | The two new properties added in the Pag⦠|
| October 17, 2013 | Bootstrap 3.0 Web API 2: OAuth 2.0, ODa⦠|
| May 5, 2014 | Higher reliability HTTP header inspecti⦠|
| July 20, 2015 | HTTP/2 support when running on Windows⦠|
| August 2, 2016 | Improved async support (output-cache an⦠|
| April 11, 2017 | operating system support for TLS protoc⦠|
| October 17, 2017 | Improved accessibility Value tuple type⦠|
| August 09, 2022 | JIT and NGEN Improvements Updated ZLib⦠|
| November 18, 2015 | An entirely new project with different⦠|
Other implementations
References
Citations
cite-note-11. ".net framework download page".
cite-note-asp-net-33. β "Introduction to ASP.NET 5 β ASP.NET 0.0.1 documentation". asp.net. Archived from the original on May 8, 2020. Retrieved May 11, 2020.
cite-note-44. β "Choose between ASP.NET and ASP.NET Core". docs.microsoft.com. 10 April 2024.
cite-note-55. β "ASP.NET Web Pages (Razor) FAQ". docs.microsoft.com.
cite-note-66. β "Get Started with ASP.NET Web API 2 (C#)". docs.microsoft.com. 30 September 2022.
cite-note-77. β "How to Take Advantage of the IIS 7.0 Integrated Pipeline". iis.net. 14 June 2022. Archived from the original on 24 March 2010. Retrieved 26 January 2009.
cite-note-83. "Announcing release of ASP.NET and Web Tools for Visual Studio 2013".
cite-note-lifecycle-94. ".net framework product lifecycle".
cite-note-105. "Announcing .NET Framework 4.6".
cite-note-116. "Visual Studio 2015 and Visual Studio 2013 Update 5 Released". msdn.com. Microsoft. 20 July 2015.
cite-note-127. "Announcing the .NET Framework 4.7". 5 April 2017.
cite-note-138. "Announcing the .NET Framework 4.7.1". 17 October 2017.
cite-note-149. "Announcing the .NET Framework 4.8". 18 April 2019.
cite-note-ghreleases-1510. "Releases". GitHub.
cite-note-monoproject-1616. β "Compatibility | Mono". Compatibility | Mono. 8 September 2015. Archived from the original on 2 July 2016. Retrieved 29 August 2016.
General sources
β’ citerefmacdonaldszpuszta2005MacDonald, Matthew; Szpuszta, Mario (2005). Pro ASP.NET 2.0 in C# 2005 (1st ed.). Apress. ISBN 1-59059-496-7.
External links
Wikibooks has more on the topic of:
ASP.NET
β’ Official website
β’ ASP.NET on MSDN
β’ Some of new features in ASP.NET 4 and vs 2010 IDE Archived 2018-12-25 at the Wayback Machine